﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace ModelLibrary
{
    public class tabPagePeriod
    {
        [XmlAttribute]
        public string StartDateTime { get { return _StartDateTime; } set { _StartDateTime = value; } }
        private string _StartDateTime = "";
        [XmlAttribute]
        public string TypeOfActionCycle { get { return _TypeOfActionCycle; } set { _TypeOfActionCycle = value; } }
        private string _TypeOfActionCycle = "";

        public string ActionDateTime { get { return _ActionDateTime; } set { _ActionDateTime = value; } }
        private string _ActionDateTime = "";

        public string EveryDays { get { return _EveryDays; } set { _EveryDays = value; } }
        private string _EveryDays = "";

        public string EveryHours { get { return _EveryHours; } set { _EveryHours = value; } }
        private string _EveryHours = "";

        public string EveryMinutes { get { return _EveryMinutes; } set { _EveryMinutes = value; } }
        private string _EveryMinutes = "";
        //每周星期几
        public ListMyDict Weeks { get { return _Weeks; } set { _Weeks = value; } }
        private ListMyDict _Weeks = new ListMyDict();
        //每月几号
        public ListMyDict Months { get { return _Months; } set { _Months = value; } }
        private ListMyDict _Months = new ListMyDict();
        //按月时间点
        public string MonthsTimeStack { get { return _MonthsTimeStack; } set { _MonthsTimeStack = value; } }
        private string _MonthsTimeStack = "";
        //按周时间点
        public string WeeklyTimeStack { get { return _WeeklyTimeStack; } set { _WeeklyTimeStack = value; } }
        private string _WeeklyTimeStack = "";
        [XmlText]
        public string PeriodInfo { get { return _PeriodInfo; } set { _PeriodInfo = value; } }
        private string _PeriodInfo = "";

    }
}
